@import '@/styles/common.less';

.container_nav_bar{
.@{container-prefix}-menu{
  background-color: @page-container-color;
  .@{container-prefix}-menu-item,.@{container-prefix}-menu-submenu-title{
    height: 48px !important;
    padding: 6px 20px;
  }
  .@{container-prefix}-menu-title-content{
    color:#666; 
    font-size: 14px;
  }
  .@{container-prefix}-menu-submenu-arrow{
    color: rgb(137,147,155);
  }
  .@{container-prefix}-menu-submenu-selected{
    .@{container-prefix}-menu-title-content{
      color:#356ac4; 
    }
    .@{container-prefix}-menu-submenu-arrow{
      color: #356ac4;
    }
    .@{container-prefix}-menu-item{
      .@{container-prefix}-menu-title-content{
      color: #666;
      }
    }
    .@{container-prefix}-menu-item-selected{
      .@{container-prefix}-menu-title-content{
      color: #356ac4;
      }
    }
  }
  .@{container-prefix}-menu-item-selected{
    .@{container-prefix}-menu-title-content{
    color: #356ac4;
    }
  }
  .@{container-prefix}-menu-item-group-title{
    margin: 0 8px;
    padding-left: 24px;
    border-top: 1px solid #dcdcdc;
    color: #333333;
    font-size: 14px;
    line-height: 24px;
    font-weight: 700;
    margin-left:5px;
    padding-top:12px;
    padding-bottom: 12px;
  }
  .menu-icon{
    width: 20px;
    height: 20px;
  }
}
.collapse_arrow{
  z-index: 999;
  position: fixed;
  cursor: pointer;
  bottom: 32px;
  border-radius: 50%;
  left: 200px;
  background: @page-container-color;
  span{
    padding: 10px;
    border-radius: 50%;
    border: 1px solid #dcdcdcff;
    svg{
      color: #89939B;
    }
  }

}
}

.dark_box{
  .container_nav_bar {
    .@{container-prefix}-menu{
      .@{container-prefix}-menu-title-content{
        color: #ccc;
      }
      .@{container-prefix}-menu-item-group-title{
        color: #f7f7f7 !important;
      }
      .@{container-prefix}-menu-title-content{
        color: #ccc !important;
        a{
          color: #ccc;
        }
      }
      .@{container-prefix}-menu-submenu-selected{
        .@{container-prefix}-menu-submenu-title{
          .@{container-prefix}-menu-title-content{
            color: #fff !important;
          }
        }
      }
      .@{container-prefix}-menu-submenu-selected .@{container-prefix}-menu-submenu-arrow{
        color: #fff;
     }
     .@{container-prefix}-menu-item-group-title{
      border-top: 1px solid #444444;
     }
    }
  }
}

.collapse_self_bar{
  .@{container-prefix}-menu{
    width: 72px;
    .@{container-prefix}-menu-item-group-title{
      height: 0;
      padding:0 !important;
    }
  }
  .collapse_arrow{
    left: 52px;
  }
}

@media screen and (max-width: 1279px) {
.@{container-prefix}-menu{
  width: 72px;
  .@{container-prefix}-menu-item-icon{
    vertical-align:-0.5em !important; 
  }
}
.container_nav_bar{
.collapse_arrow{
  cursor: not-allowed;
  left: 52px;
}
}
}